/**
 * 
 */
package me.myachievements.pagination.control;

import java.io.Serializable;

/**
 * @author besseym
 *
 */
public class Sort implements Serializable {
	
	private String property;
	private Boolean ascending;

	/**
	 * Constructor
	 * 
	 * @param property
	 * @param asc
	 */
	public Sort(String property, Boolean ascending) {
		this.property = property;
		this.ascending = ascending;
	}

	/**
	 * @return the property
	 */
	public String getProperty() {
		return property;
	}

	/**
	 * @param property the property to set
	 */
	public void setProperty(String property) {
		this.property = property;
	}

	/**
	 * @return the ascending
	 */
	public Boolean getAscending() {
		return ascending;
	}

	/**
	 * @param ascending the ascending to set
	 */
	public void setAscending(Boolean ascending) {
		this.ascending = ascending;
	}

}
